package com.revenco.bi.service;

import java.util.List;
import java.util.Map;

import com.revenco.bi.model.userbean.AnychartDataBean;
import com.revenco.bi.model.userbean.CFieldsBean;
import com.revenco.bi.model.userbean.ShowSql;
import com.revenco.bi.model.userbean.XFieldsBean;
import com.revenco.bi.model.userbean.YFieldsBean;

/**
 * 
 * @author zhaozz
 * 
 */
public interface ChartSqlPieceService {
	public String spliceSql(String CFields, String XFields, String YFields, String mulRelationData);
	
	public ShowSql getSql(String CFields, String XFields, String YFields, String mulRelationData);
	
	public String getOilGaugeBeanSql(String yFields, String mulRelationData);
	
	public Map<String, Map<String, String>> getSeriesData2(String CFields,
			String XFields, String YFields, String mulRelationData);

	public String getPieceSql(CFieldsBean[] cfieldsArray, XFieldsBean xFields,
			YFieldsBean[] yFields, String mulRelationData);

	public Map<String, List<AnychartDataBean>> getSeriesData(String cFields,
			String xFields, String yFields, String mulRelationData);
}
